import React, { Component } from 'react'

class Test extends Component {
  // 当父组件的render函数被运行，它的子组件的reader函数都将被重新运行一次
  render() {
    console.log('Test render')
    return (
      <div>
        {this.props.content}
      </div>
    )
  }
}

export default Test
